import Data.List

main = do
    _ <- getLine
    l <- getLine
    let ns = sort $ map read $ words l :: [Int]
    putStrLn $ unwords $ map show ns